home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 23 / AACD 23.iso / AACD / Magazine / PC2Amiga / Samba / docs / textdocs / RoutedNetworks.txt < prev    next >
Text File  |  2000-04-25  |  3KB  |  67 lines

  1. !==
  2. !== RoutedNetworks.txt for Samba release 2.0.7 26 Apr 2000
  3. !==
  4. #NOFNR Flag in LMHosts to Communicate Across Routers
  5.  
  6.   Last reviewed: May 5, 1997 
  7.   Article ID: Q103765 
  8.   The information in this article applies to: 
  9.  
  10.        Microsoft Windows NT operating system version 3.1 
  11.        Microsoft Windows NT Advanced Server version 3.1 
  12.  
  13.   SUMMARY
  14.  
  15.   Some of the LAN Manager for UNIX and Pathworks servers may have
  16. problems in communicating across routers with
  17.   Windows NT workstations. The use of #NOFNR flag in the LMHosts
  18. file solves the problem. 
  19.  
  20.   MORE INFORMATION
  21.  
  22.   When you are communicating with a server across a router in a IP
  23. routed environment, the LMHosts file is used to
  24.   resolve Workstation name-to-IP address mapping. The LMHosts
  25. entry for a remote machine name provides the IP
  26.   address for the remote machine. In Lan Manager 2.x, providing
  27. the LMHosts entry eliminates the need to do a Name
  28.   Query broadcast to the local domain and instead a TCP session is
  29. established with the remote machine. Windows NT
  30.   performs the same function in a different way. 
  31.  
  32.   When an LMHosts entry exists for a remote server, Windows NT
  33. will not send a Name Query broadcast to the local
  34.   subnet and instead send a directed Name Query to the remote
  35. server. If the remote server does not respond to the Name
  36.   Query, further communications (TCP SYN, and so on) will not take
  37. place. This was done to eliminate the performance
  38.   issues when trying to connect to a remote machine when it was
  39. not available (down). 
  40.  
  41.   Some of the older LAN Manager for UNIX and DEC Pathworks servers
  42. do not respond to directed Name Queries sent
  43.   by Windows NT. In that case, the users will see an error 53
  44. (Path not found), even though they have specified the
  45.   LMHosts entries correctly. A new LMHosts flag #NOFNR was added
  46. to solve this problem. By specifying the
  47.   #NOFNR flag on the same line where the name resolution
  48. information for the server is provided, the directed Name
  49.   Query can be avoided. For example: 
  50.  
  51.      130.20.1.1   mylmxserver   #PRE  #NOFNR
  52.  
  53.  
  54.   Note that this will only apply to mylmxserver and not to any
  55. other entries in the LMHosts file. To set
  56.   a global flag, an entry could be added in the registry. To
  57. completely remove any directed Name
  58.   Queries sent from a Windows NT machine, create the following
  59. value in
  60.  
  61. HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Nbt\Parameters: 
  62.  
  63.      NoDirectedFNR   REG_DWORD   1
  64.  
  65.  
  66.   This will cause the directed Name Queries to not go out for any
  67.